<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('AlibabaPifatuanProductMatchGetParam/AlibabaPifatuanProductMatchGetSkuIntelligentInfo.class.php');

class AlibabaPifatuanProductMatchGetProductIntelligentInfo extends SDKDomain {

       	
    private $descriptionImages;
    
        /**
    * @return 
    */
        public function getDescriptionImages() {
        return $this->descriptionImages;
    }
    
    /**
     * 设置     
     * @param array include @see String[] $descriptionImages     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setDescriptionImages( $descriptionImages) {
        $this->descriptionImages = $descriptionImages;
    }
    
        	
    private $images;
    
        /**
    * @return 
    */
        public function getImages() {
        return $this->images;
    }
    
    /**
     * 设置     
     * @param array include @see String[] $images     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setImages( $images) {
        $this->images = $images;
    }
    
        	
    private $skuImages;
    
        /**
    * @return 
    */
        public function getSkuImages() {
        return $this->skuImages;
    }
    
    /**
     * 设置     
     * @param array include @see AlibabaPifatuanProductMatchGetSkuIntelligentInfo[] $skuImages     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setSkuImages(AlibabaPifatuanProductMatchGetSkuIntelligentInfo $skuImages) {
        $this->skuImages = $skuImages;
    }
    
        	
    private $title;
    
        /**
    * @return 
    */
        public function getTitle() {
        return $this->title;
    }
    
    /**
     * 设置     
     * @param String $title     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setTitle( $title) {
        $this->title = $title;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "descriptionImages", $this->stdResult )) {
    				$this->descriptionImages = $this->stdResult->{"descriptionImages"};
    			}
    			    		    				    			    			if (array_key_exists ( "images", $this->stdResult )) {
    				$this->images = $this->stdResult->{"images"};
    			}
    			    		    				    			    			if (array_key_exists ( "skuImages", $this->stdResult )) {
    			$skuImagesResult=$this->stdResult->{"skuImages"};
    				$object = json_decode ( json_encode ( $skuImagesResult ), true );
					$this->skuImages = array ();
					for($i = 0; $i < count ( $object ); $i ++) {
						$arrayobject = new ArrayObject ( $object [$i] );
						$AlibabaPifatuanProductMatchGetSkuIntelligentInfoResult=new AlibabaPifatuanProductMatchGetSkuIntelligentInfo();
						$AlibabaPifatuanProductMatchGetSkuIntelligentInfoResult->setArrayResult($arrayobject );
						$this->skuImages [$i] = $AlibabaPifatuanProductMatchGetSkuIntelligentInfoResult;
					}
    			}
    			    		    				    			    			if (array_key_exists ( "title", $this->stdResult )) {
    				$this->title = $this->stdResult->{"title"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "descriptionImages", $this->arrayResult )) {
    			$this->descriptionImages = $arrayResult['descriptionImages'];
    			}
    		    	    			    		    			if (array_key_exists ( "images", $this->arrayResult )) {
    			$this->images = $arrayResult['images'];
    			}
    		    	    			    		    		if (array_key_exists ( "skuImages", $this->arrayResult )) {
    		$skuImagesResult=$arrayResult['skuImages'];
    			$this->skuImages = new AlibabaPifatuanProductMatchGetSkuIntelligentInfo();
    			$this->skuImages->setStdResult ( $skuImagesResult);
    		}
    		    	    			    		    			if (array_key_exists ( "title", $this->arrayResult )) {
    			$this->title = $arrayResult['title'];
    			}
    		    	    		}
 
   
}
?>